import request from '@/utils/request'

export function listComplaint(query) {
  return request({
    url: '/bid/complaint/front/list',
    method: 'get',
    params: query
  })
}
export function getComplaint(id) {
    return request({
        url: '/bid/complaint/front/'+id,
        method: 'get',
    })
}


export function addComplaint(data) {
    return request({
        url: '/bid/complaint',
        method: 'post',
        data: data
    })
}